﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace BPM.Web.Shared.Data;

/// <summary>
/// 异常日志参数
/// </summary>
public partial class ExLogOutput : BaseVM
{
    /// <summary>
    /// 主键Id
    /// </summary>
    [DisplayName("业务号")]
    [Required(ErrorMessage = "业务号不能为空")]
    [JsonPropertyName("id")]
    public long Id { get; set; }

    /// <summary>
    /// 操作人
    /// </summary>
    [DisplayName("操作人")]
    [JsonPropertyName("account")]
    public string? Account { get; set; }

    /// <summary>
    /// 名称
    /// </summary>
    [DisplayName("名称")]
    [JsonPropertyName("name")]
    public string? Name { get; set; }

    /// <summary>
    /// 类名
    /// </summary>
    [DisplayName("类名")]
    [JsonPropertyName("className")]
    public string? ClassName { get; set; }

    /// <summary>
    /// 方法名
    /// </summary>
    [DisplayName("方法名")]
    [JsonPropertyName("methodName")]
    public string? MethodName { get; set; }

    /// <summary>
    /// 异常名称
    /// </summary>
    [DisplayName("异常名称")]
    [JsonPropertyName("exceptionName")]
    public string? ExceptionName { get; set; }

    /// <summary>
    /// 异常信息
    /// </summary>
    [DisplayName("异常信息")]
    [JsonPropertyName("exceptionMsg")]
    public string? ExceptionMsg { get; set; }

    /// <summary>
    /// 异常时间
    /// </summary>
    [DisplayName("异常时间")]
    [JsonPropertyName("exceptionTime")]
    public System.DateTimeOffset? ExceptionTime { get; set; }

}
